package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.domain.Role;
import org.example.service.RoleService;
import org.example.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 24698
* @description 针对表【sys_role】的数据库操作Service实现
* @createDate 2024-04-20 09:59:58
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{

    @Autowired
    RoleMapper roleMapper;

    @Override
    public Integer getAuthById(Integer id) {
        return roleMapper.getAuthById(id);
    }
}




